package wnxy.wn44.service;

import com.github.pagehelper.PageInfo;
import wnxy.wn44.model.Poetry;
import wnxy.wn44.service.bo.PoetryQueryParam;

public interface PoetryService {

    /**
     * 根据主键查询一首诗
     * @param id 诗的主键
     * @return 返回匹配的诗词对象！
     */
    Poetry findPoetryById(Integer id);

    /*分页查询*/
    PageInfo<Poetry> listByPage(PoetryQueryParam queryParam);

    int delById(Integer... ids);


}